<?php
require_once ('password.php');

	function GetConnection() {
		global $password;
		$connect = new mysqli('localhost', 'n02425083', $password, 'n02425083_db');  // Parameters = ("ServerName", "user", "password", "database")  
		if($connect->error) {
			throw new Exception("$connect->error, 1");
		}
		return $connect;
	}